<template>
  <div @click='father'>
     <form action="http://www.itcast.cn">

            <input type="text">

            <button @click.prevent.stop = 'son'>提交</button>
            
        </form>
   </div>
</template>
 
<script>
export default {
  data() {
    return {

    };
  },
  methods: {
    father(){
       console.log('默认行为');
    },
    son() {
        console.log(1);
    }
  }
};
</script>

<style scoped>
     
</style>